Skip to content

Release v0.14.0: /vim toggle and leader key fixes#40

Merged
oribarilan merged 1 commit into
mainfrom
release/v0.14.0
Jun 13, 2026
Merged

Release v0.14.0: /vim toggle and leader key fixes#40
oribarilan merged 1 commit into
mainfrom
release/v0.14.0

Conversation

@oribarilan

Copy link
Copy Markdown
Owner

[0.14.0] — 2026-06-13

Added

  • /vim toggle command to disable/enable vim mode. Persisted across restarts.
  • Startup toast when vim is disabled so users know why keybindings aren't active.

Fixed

  • Leader key now works with modifier-based configurations like the default ctrl+x. Previously, parseLeaderKey expected vim-style C-x notation but OpenCode's keybinds API returns ctrl+x format, so the leader key was silently broken for any config with modifiers.
  • Leader detection supports all OpenCode modifier aliases (control, alt, option, super) and multiple leader bindings.
  • Optional chaining on api.kv.set to avoid crashes on older OpenCode versions.
  • Escape/Enter no longer intercepted when vim is disabled.
  • Toggling vim off resets mode and clears pending state.
  • :vim palette title uses : prefix, consistent with :q/:quit/:wq.

@oribarilan oribarilan merged commit 073dc85 into main Jun 13, 2026
1 check passed
@oribarilan oribarilan deleted the release/v0.14.0 branch June 13, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant